<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ page import="com.zmx.holiday.user.model.*"%>
<%String menu="3"; %>
<%@ include file="/head.jsp" %>
<div id="main">
		<div id="main_banner"></div>
		<div id="left">
			<div id="reg_left">
			<div class="list-top">&nbsp;</div>
				<ul class="service-list">
					<li><a href="/registry/home_registry.jsp">注册店铺</a></li>
					<li><a href="/reg/homeSelect.action?userID=<%=userID %>">注册客房</a></li>
					<li><a href="/inte/homeManagerList.action?userID=<%=userID %>">店铺维护</a></li>
					<li><a href="/inte/roomManagerList.action?userID=<%=userID %>">客房维护</a></li>
				</ul>
				<div class="list-top yellow">&nbsp;</div>
				<ul class="service-list yellow">
					<li><a href="/reg/homeUpdateShow.action?homeID=<s:property value='homeID'/>">修改店铺信息</a></li>
					<li><a href="/services/registry/services_register_list.jsp?status=TEST">店铺公告管理</a></li>
				</ul>
			</div>
			<div id="reg_right">
				<s:form action="homeUpdate" namespace="/reg" validate="true" theme="simple" method="post"  enctype="multipart/form-data">
				<input name="userID" type="hidden" value="<%=userID%>">
				<input name="homeID" type="hidden" value="<s:property value='homeInfo.homeID'/>">
				<input type="hidden" value="<s:property value='homeInfo.homePro'/>" id="pro"/>
				<input type="hidden" value="<s:property value='homeInfo.homeCity'/>" id="cit"/>
				<input type="hidden" value="<s:property value='homeInfo.homeHoliday'/>" id="hol"/>
				<script type="text/javascript">
				<!--						
					$(document).ready(function() {
						Init();
					});
				//-->
				</script>
				<div class="title"><h3>注册店铺基本信息</h3></div>
				<div class="info-words">
					<table border="0" cellspacing="1" cellpadding="0">
						<tr><th>店铺名称：</th><td><s:textfield name="homeInfo.homeName" size="38"/></td></tr>
						<tr><th>店铺照片：</th><td><s:file name="homeInfo.homePic" size="38"/></td></tr>
						<tr><th>店铺描述：</th><td><s:textarea name="homeInfo.homeDes"/></td></tr>
						<tr><th>所属省份：</th>
							<td>
								<select name="homeInfo.homePro" class="double" id="Select1" runat="server" onchange="selectCity();">
									<option>===请选择===</option>
								</select>
							</td></tr>
						<tr><th>所属城市：</th>
							<td>
								<select name="homeInfo.homeCity" class="double" id="Select2" runat="server" onchange="selectCountry()">
									<option>===请选择===</option>
								</select>
							</td></tr>
						<tr><th>所在景区：</th>
							<td>
								<select name="homeInfo.homeHoliday" id="Select3" runat="server">
									<option>===请选择===</option>
								</select>
							</td></tr>
						<tr><th>具体地址：</th><td><s:textfield name="homeInfo.homeAddress" size="38"/></td></tr>
						<tr><th>交通指南：</th><td><s:textarea name="homeInfo.homeTraffic"/></td></tr>
						<tr><th>邮政编码：</th><td><s:textfield name="homeInfo.homeZipCode" size="38"/></td></tr>
						<tr><th>其他地址信息：</th><td><s:textarea name="homeInfo.homeAddOther"/></td></tr>
					</table>
				</div>
				<div class="title"><h3>标注店铺地理位置</h3></div>
				<div class="info-words">
					
				</div>
				<div class="title"><h3>店铺联系人信息</h3></div>
				<div class="info-words bottom">
					<table border="0" cellspacing="1" cellpadding="0">
						<tr><th>联系人姓名：</th><td><s:textfield name="linkMan.linkManName" size="38"/></td></tr>
						<tr><th>联系人地址：</th><td><s:textfield name="linkMan.linkManAddress" size="38"/></td></tr>
						<tr><th>联系人电话：</th><td><s:textfield name="linkMan.linkManPhone" size="38"/></td></tr>
						<tr><th>联系人Email：</th><td><s:textfield name="linkMan.linkManEmail" size="38"/></td></tr>
						<tr><th>联系人QQ：</th><td><s:textfield name="linkMan.linkManQQ" size="38"/></td></tr>
						<tr><th>联系人MSN：</th><td><s:textfield name="linkMan.linkManMSN" size="38"/></td></tr>
					</table>
				</div>
				<div id="login_btn">
					<a href="javascript:homeUpdate.submit()">注册服务信息</a>
					<a href="/reg/homeUpdateShow.action?homeID=<s:property value='homeID'/>">重新填写</a>
				</div>
				</s:form>
			</div>
		</div>
		<%@ include file="/integration/list_right.jsp" %>
	</div>
<%@ include file="/foot.jsp" %>